package com.example.demo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.ToString;

public class DemoApplication {

    public static void main(String[] args) {
        System.out.println(new User("tom", 8));
    }
    @Data
    @AllArgsConstructor
    @ToString
    static class User {
        private String name;
        private Integer age;
    }
}
